class CreateUsers < ActiveRecord::Migration
  def self.up
    create_table :users do |t|
      t.column :email, :string
      t.column :hashed_password, :string
      t.column :seed, :string
      t.column :name, :string
      t.column :address, :text
      t.column :phone, :string
      t.column :experience, :text
      t.column :superadmin, :boolean, :default => false
      t.column :created_at, :datetime
      t.column :updated_at, :datetime
    end
  end

  def self.down
    drop_table :users
  end
end
